package com.ysc.task.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysc.task.entity.Task;
import com.ysc.task.entity.dto.TaskAddDTO;
import com.ysc.task.util.R;

/**
 * Version: 1.0
 * Class Name: ITaskService
 * Description: TODO(一句话描述功能)
 * Author: ysc
 * Date: 2024/3/31 13:18
 */
public interface ITaskService extends IService<Task> {
    R add(TaskAddDTO taskAddDTO);

    R delete(Long id);

    R enable(Long id);

    R unEnable(Long id);

    R getList(Long id);
}
